package com.ruoyi.home.service;

import com.ruoyi.home.domain.home;

import java.util.List;

public interface homeService {
    /**
     * 查询goods
     *
     * @param goodsId goods主键
     * @return goods
     */
    public home selectgoodsByRewardId(Long goodsId);

    /**
     * 查询goods列表
     *
     * @param goods
     * @return goods集合
     */
    public List<home> selectgoodsList(home goods);

    /**
     * 新增goods
     *
     * @param goods
     * @return 结果
     */
    public int insertgoods(home goods);

    /**
     * 修改goods
     *
     * @param goods goods
     * @return 结果
     */
    public int updategoods(home goods);

    /**
     * 批量删除goods
     *
     * @param goodsIds 需要删除的goods主键集合
     * @return 结果
     */
    public int deletegoodsByRewardIds(Long[] goodsIds);

    /**
     * 删除goods信息
     *
     * @param goodsId reward主键
     * @return 结果
     */
    public int deletegoodsByRewardId(Long goodsId);
}
